package com.steak.springmvc;

import com.steak.springmvc.common.User;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 刘牌
 * @Title:
 * @date 2022-04-0420:45
 */
@RestController
@RequestMapping("/api")
public class ApiController {

    @RequestMapping("/getUser")
    public User getUser(){
        return new User("xiaosi","123456");
    }
}
